package com.africanmoviesmobile.webservice;

import org.json.JSONObject;

import android.content.Context;

import com.africanmoviesmobile.webservice.inf.Photo;

public class AmmPhoto extends AmmWebService implements Photo{
	
	private JSONObject _jsonObject;
	
	public AmmPhoto(JSONObject jsonObject, Context context) {
		super(context);
		_jsonObject = jsonObject;
	}

	public String getCaption() {
		return _jsonObject.optString("caption");
	}

	public String getPhoto() {
		return _jsonObject.optString("photo");
	}
	
}
